Skip to content

[3.11] gh-116307: Proper fix for 'mod' leaking across importlib tests… - #116694

Merged
jaraco merged 1 commit into
python:3.11from
jaraco:backport-a254807-3.11
Mar 13, 2024
Merged

[3.11] gh-116307: Proper fix for 'mod' leaking across importlib tests…#116694
jaraco merged 1 commit into
python:3.11from
jaraco:backport-a254807-3.11

Conversation

@jaraco

@jaraco jaraco commented Mar 13, 2024

Copy link
Copy Markdown
Member

… (GH-116680)

(cherry picked from commit a254807)

gh-116307: Create a new import helper 'isolated modules' and use that instead of 'Clean Import' to ensure that tests from importlib_resources don't leave modules in sys.modules.

… tests (pythonGH-116680)

(cherry picked from commit a254807)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
pythongh-116307: Create a new import helper 'isolated modules' and use that instead of 'Clean Import' to ensure that tests from importlib_resources don't leave modules in sys.modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment